﻿<%@ Page Language="C#" MasterPageFile="~/castcom.master" AutoEventWireup="true" CodeFile="Members.aspx.cs" Inherits="Members" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    Liste des soldats actifs<br /><br />

    <%--Version gridview--%>
    <asp:GridView ID="gdMembers" runat="server" AutoGenerateColumns="False" 
        GridLines="Vertical" AllowSorting="True">
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="Matricule" 
                DataNavigateUrlFormatString="MemberEdit.aspx?UserID={0}" Text="Edition" 
                Visible="False" />
            <asp:HyperLinkField DataNavigateUrlFields="Matricule" 
                DataNavigateUrlFormatString="MemberView.aspx?UserId={0}" 
                HeaderText="Acces au dossier" Text="Consulter" />
            <asp:BoundField DataField="Matricule" HeaderText="Matricule" />
            <asp:BoundField DataField="Pseudo" HeaderText="Pseudo" />
            <asp:BoundField DataField="Prename" HeaderText="Prenom" />
            <asp:BoundField DataField="Name" HeaderText="Nom" />
            <asp:BoundField DataField="Rank" HeaderText="Rank" />
            <asp:BoundField DataField="Squad" HeaderText="Escouade" 
                NullDisplayText="-" />
            <asp:BoundField DataField="Experience" HeaderText="Experience" />
        </Columns>
    </asp:GridView>
    
</asp:Content>

